package com.wing.cms.ext.domain;

import java.util.HashMap;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;



public class  CustomMessageBoard implements CustomPortletInerface{
	private String showTitle="";
	private String showContent="";
	private String showName="";
	private String showSex="";
	private String showEmail="";
	private String showPhone="";
	private String showMobile="";
	private String showAddress="";
	
	public void init(HttpServletRequest request) {
		showTitle = request.getParameter("showTitle")==null?"":request.getParameter("showTitle");
		showContent = request.getParameter("showContent")==null?"":request.getParameter("showContent");
		showName = request.getParameter("showName")==null?"":request.getParameter("showName");
		showSex = request.getParameter("showSex")==null?"":request.getParameter("showSex");
		showEmail = request.getParameter("showEmail")==null?"":request.getParameter("showEmail");
		showPhone = request.getParameter("showPhone")==null?"":request.getParameter("showPhone");
		showMobile = request.getParameter("showMobile")==null?"":request.getParameter("showMobile");
		showAddress = request.getParameter("showAddress")==null?"":request.getParameter("showAddress");
	}
	public Map getMaps() {
		Map m = new HashMap();
		m.put("showTitle", showTitle);
		m.put("showContent", showContent);
		m.put("showName", showName);
		m.put("showSex", showSex);
		m.put("showEmail", showEmail);
		m.put("showPhone", showPhone);
		m.put("showMobile", showMobile);
		m.put("showAddress", showAddress);
		return m;
	}
	public String getShowTitle() {
		return showTitle;
	}
	public void setShowTitle(String showTitle) {
		this.showTitle = showTitle;
	}
	public String getShowContent() {
		return showContent;
	}
	public void setShowContent(String showContent) {
		this.showContent = showContent;
	}
	public String getShowName() {
		return showName;
	}
	public void setShowName(String showName) {
		this.showName = showName;
	}
	public String getShowSex() {
		return showSex;
	}
	public void setShowSex(String showSex) {
		this.showSex = showSex;
	}
	public String getShowEmail() {
		return showEmail;
	}
	public void setShowEmail(String showEmail) {
		this.showEmail = showEmail;
	}
	public String getShowPhone() {
		return showPhone;
	}
	public void setShowPhone(String showPhone) {
		this.showPhone = showPhone;
	}
	public String getShowMobile() {
		return showMobile;
	}
	public void setShowMobile(String showMobile) {
		this.showMobile = showMobile;
	}
	public String getShowAddress() {
		return showAddress;
	}
	public void setShowAddress(String showAddress) {
		this.showAddress = showAddress;
	}

}
